# 502. 成绩分析
# https://www.lanqiao.cn/problems/502/learning/?page=1&first_category_id=1&second_category_id=3
# Date: 2025/2/15

def get_rates(arr):
    n = len(arr)
    cnt_60 = 0
    cnt_85 = 0
    for num in arr:
        if num >= 60:
            cnt_60 += 1
        if num >= 85:
            cnt_85 += 1
    print(format(cnt_60 * 100 / n, '.0f') + "%")
    print(format(cnt_85 * 100 / n, '.0f') + "%")


if __name__ == '__main__':
    get_rates([80, 92, 56, 74, 88, 100, 0])
